/**
 * 
 */
package zeroj.web.validator.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author LYL(lyl at gmail dot com)
 *
 * @since 1.0
 *
 * 2008-9-30
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.FIELD})
public @interface IsString {

	int minLen() default 0;
	 
	int maxLen() default Integer.MAX_VALUE;
	
}
